package com.smile67.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * OSS配置属性类
 *
 * @author smile67
 * @version 1.0
 * @projectName ag_ai_ms
 * @package com.smile67.common.properties
 * @className AliOssProperties
 * @date 2023/7/14 15:14
 */
@Component
@ConfigurationProperties(prefix = "ms.alioss")//配置属性类，即将配置中的值注入到此处
@Data
public class AliOssProperties {
    private String bucketName;
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
}